package tech.yangzhijie.basic.java06.test0502;

public class Aircraft extends Vehicle {

    @Override
    public void setName(String name) {
        super.setName(name);
    }

    @Override
    public String getName() {
        return super.getName();
    }

    @Override
    public String toString() {
        return "Aircraft{" +
                "name='" + getName() + '\'' +
                '}';
    }
}
